using System;
using System.Security.Principal;
using GraphQL.Types;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
using Newtonsoft.Json.Linq;

namespace dotnet_graphql_demo.Infrastructure.Graphql
{
    public class ResponseData<T> : IReponseData<T> where T : class
    {
        public int? MsgCode { get; set; }
        public string Message { get; set; }
        public T Obj { get; set; }
    }

    public interface IReponseData<T> where T : class
    {
        int? MsgCode { get; set; }

        string Message { get; set; }

        T Obj { get; set; }
    }
}